package br.usp.ime.lab.coverage.mcdc;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Map;


import org.dom4j.DocumentException;

import br.usp.ime.lab.test.TestCase;

public class CoberturaMCDC {
	

	private String results = "";

	
	private void compareFiles(File xmlFile, File txtFile) throws DocumentException, FileNotFoundException {

	}
	
	
	public String compareDirectories(String xmlDirectoryPath, String txtDirectoryPath) throws FileNotFoundException, DocumentException {

		return this.results;
	}
	
	
	private void calculateCoverage(Map<Integer, ArrayList<TestCase>> mcdcTestCases, Map<Integer, ArrayList<TestCase>> coveredTestCases) {

	}
	
	
	@SuppressWarnings("unchecked")
	private void processaXML(File xmlFile, Map<Integer, ArrayList<TestCase>> mcdcTestCases) throws DocumentException {

	}

	
	private void processaTXT(File txtFile, Map<Integer, ArrayList<TestCase>> coveredTestCases) throws FileNotFoundException {

	}
	
	
	
	public void updateResults() {
		
	}
}
